﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace VelesServiceLibrary
{
    [ServiceContract]
    public interface IVelesService
    {
        #region Category
        [OperationContract]
        void DeleteCategory(int p);

        [OperationContract]
        void DeleteAttributesFromCategory(int p, List<int> AttributeIds);

        [OperationContract]
        List<VelesDBCore.Category> SelectCategory();

        [OperationContract]
        void UpdateCategory(VelesDBCore.Category category);

        [OperationContract]
        void InsertSubCategory(VelesDBCore.Category category);

        [OperationContract]
        void InsertCategory();

        [OperationContract]
        void InsertAttributesInCategory(int p, List<int> AttributeIds);

        #endregion
        #region Security
        [OperationContract]
        VelesDBCore.SecurityUserGroup GetUserGroup(string p, string p_2);

        #endregion
    }
}
